//
// Created by jyh on 2021/8/3.
//

#ifndef BBOVRSCHIP_PATTERNS_H
#define BBOVRSCHIP_PATTERNS_H

#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include "Const.h"

// Typedef
typedef struct Patterns {
    char fname[100][256];
    char fform[100][256];
    int nfile;
    int MAXFILE;
};

// FUNCTION
void Patterns_readFile();
void Patterns_m_getPatternName(int ldefined, const char* keyword, const char* param_list, int iyear, int imonth, int iday, int ihour, char* name);

// Variable
extern struct Patterns PATTERNS;

#endif //BBOVRSCHIP_PATTERNS_H
